package com.framework.common.enums.annex;

/**
 * @author 龘鵺
 * @version 1.0
 * @className com.framework.common.enums.annex
 * @description 附件上传枚举类
 * @datetime 2024-07-09 10:26:12
 */
public enum AnnexTypeEnum {
    code1("图片类型", "image", 100, "图片类型"),
    code2("doc文档", "doc", 1000, "doc文档"),
    code3("excel文档", "excel", 2000, "excel文档"),
    code4("ppt文件", "ppt", 3000, "ppt文件"),
    code5("pdf文件", "pdf", 4000, "pdf文件"),
    ;
    private String name;
    private String code;
    private Integer value;
    private String desc;

    AnnexTypeEnum(String name, String code, Integer value, String desc) {
        this.name = name;
        this.code = code;
        this.value = value;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public String getCode() {
        return code;
    }

    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
